package com.open.capacity.nk.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.util.Date;

/**
 * 案件
 *
 * @author
 * @email
 * @date 2020-06-03 17:48:32
 */

@Data
public class BaseAj implements Serializable {
    private static final long serialVersionUID = 1L;


    private String id;

    @NotBlank
    @Length(max = 50)
    private String companyId;

    @TableField(exist = false)
    private String companyName;


    @TableField(exist = false)
    private String ztName;

    @NotBlank
    @Length(max = 50)
    private String ztId;

    private Integer kjnd;

    private Integer year;

    @NotBlank
    @Length(max = 200)
    private String name;

    private String simpleName;

    private String fullName;

    private Integer isMx;

    private String zjm;

    private String remark;

    private Integer status;

    @JsonFormat(timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss.SSS")
    private Date createTime;

    @JsonFormat(timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss.SSS")
    private Date updateTime;

    private String updateUsername;

}
